<?php

include("../utility/connection.php");
include("../model/mSeminar.php");
session_start();

if ($_SERVER["REQUEST_METHOD"] == "POST") {
    unset($_SESSION['ubah']);
    unset($_SESSION['ubahSeminar']);
    $TopikId = trim(mysql_real_escape_string($_POST["hidIdTopik"]));
    fnDeleteSeminar($TopikId);
    unset($_SESSION['topikId']);
    unset($_SESSION['seminarResult']);
    header("location: ../ui/admin/seminarAdmin.php");
}
?>
